//
//  AXFAddNewAddressChooseGenderCell.m
//  AIXF
//
//  Created by zhanghui on 2017/7/13.
//  Copyright © 2017年 Macx. All rights reserved.
//

#import "AXFAddNewAddressChooseGenderCell.h"

@interface AXFAddNewAddressChooseGenderCell ()


@property (weak, nonatomic) IBOutlet UIButton *chooseWoman;
@property (weak, nonatomic) IBOutlet UIButton *chooseMan;

@end

@implementation AXFAddNewAddressChooseGenderCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
    self.selectionStyle = UITableViewCellSelectionStyleNone;
}

//选中女士
- (IBAction)chooseWomanAction:(UIButton *)sender {
    
    sender.selected = YES;
    self.chooseMan.selected = NO;
    
    self.gender = @"female";
    
    
}

//选中男士
- (IBAction)chooseManAction:(UIButton *)sender {

    sender.selected = YES;
    self.chooseWoman.selected = NO;
    
    self.gender = @"male";
    
}


@end
